package com.lizhi.dto;

import lombok.Data;

@Data
public class CompleteResult {
    private String errorMessage;
    private Integer subTaskIndex;

    public CompleteResult(Integer subTaskIndex) {
        this.subTaskIndex = subTaskIndex;
    }

    public CompleteResult(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public CompleteResult(String errorMessage, Integer subTaskIndex) {
        this.errorMessage = errorMessage;
        this.subTaskIndex = subTaskIndex;
    }

    public CompleteResult() {
    }
}
